home *** CD-ROM | disk | FTP | other *** search
/ Internet.Works 40 / Issue 40.iso / pc / PCSoftware / HTML Tool 3.5 / htmltool.exe / _SETUP.1 / ICQ Check.scp < prev    next >
Encoding:
Text File  |  2000-03-06  |  1.1 KB  |  42 lines

  1. <HTMLtool>Display your ICQ status</HTMLtool>
  2.  
  3. <!-- TWO STEPS TO INSTALL ICQ STATUS:
  4.  
  5.   1.  Copy the coding into the HEAD of your HTML document
  6.   2.  Add the last code into the BODY of your HTML document  -->
  7.  
  8. <!-- STEP ONE: Paste this code into the HEAD of your HTML document  -->
  9.  
  10. <SCRIPT LANGUAGE="JavaScript">
  11.  
  12. <!-- Begin
  13. function icqCheck() {
  14. var number = document.ICQ.number.value;
  15.  
  16. text = "<html><body><center><br>"
  17. + number + " is: <img src=http://wwp.icq.com/"
  18. + "scripts/online.dll?ICQ=" + number + "&img=5> "
  19. + "</body></html>";
  20.  
  21. windowprops = "toolbar=no,width=150,height=25,"
  22. + "directories=no,status=no,scrollbars=no,resize=no,"
  23. + "menubar=no";
  24.  
  25. icqWindow=window.open("","displayWindow",windowprops)
  26. icqWindow.document.write(text);
  27. icqWindow.document.close();
  28. icqWindow.focus();
  29. }
  30. //  End -->
  31. </script>
  32.  
  33. <!-- STEP TWO: Copy this code into the BODY of your HTML document  -->
  34.  
  35. <center>
  36. <form name=ICQ>
  37. <div center>ICQ #:  
  38. <input type=text name=number size=10 value="ICQ ID here"><br>
  39. <input type=button name=check value="Check # on ICQ !" onClick="icqCheck()">
  40. </div>
  41. </form>
  42. </center>